package org.xamp.configuration;

public class Account {
	private String server;
	private String resource;
	private String user;
	private String password;

	private boolean securedBySSL;
	private boolean securedByTLS;

	public Account(String server, String resource, String user, String password, boolean securedBySSL, boolean securedByTLS) {
		this.server = server;
		this.resource = resource;
		this.user = user;
		this.password = password;
		this.securedBySSL = securedBySSL;
		this.securedByTLS = securedByTLS;
	}

	/**
	 * @return the server
	 */
	public String getServer() {
		return server;
	}

	/**
	 * @return the resource
	 */
	public String getResource() {
		return resource;
	}

	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @return the securedBySSL
	 */
	public boolean isSecuredBySSL() {
		return securedBySSL;
	}

	/**
	 * @return the securedByTLS
	 */
	public boolean isSecuredByTLS() {
		return securedByTLS;
	}

	/**
	 * @param server the server to set
	 */
	public void setServer(String server) {
		this.server = server;
	}

	/**
	 * @param resource the resource to set
	 */
	public void setResource(String resource) {
		this.resource = resource;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @param securedBySSL the securedBySSL to set
	 */
	public void setSecuredBySSL(boolean securedBySSL) {
		this.securedBySSL = securedBySSL;
	}

	/**
	 * @param securedByTLS the securedByTLS to set
	 */
	public void setSecuredByTLS(boolean securedByTLS) {
		this.securedByTLS = securedByTLS;
	}

}
